﻿<!DOCTYPE HTML>
<html>
<head>
    <meta content="webkit" name="renderer" />
    <meta charset="utf-8">
    <!-- <meta name="renderer" content="webkit|ie-comp|ie-stand"> -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <title>{block name="title"}{$Think.config.site.title}{/block}</title>
    <link rel="Bookmark" href="__ROOT__/favicon.ico" >
    <link rel="Shortcut Icon" href="__ROOT__/favicon.ico" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="__LIB__/html5.js"></script>
    <script type="text/javascript" src="__LIB__/respond.min.js"></script>
    <script type="text/javascript" src="__LIB__/PIE_IE678.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="__LIB__/fenyetiaozhuan/tiaozhuan.css"/>
    <link rel="stylesheet" type="text/css" href="__LIB__/Hui-iconfont/1.0.7/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="__LIB__/icheck/icheck.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/app.css"/>
    <link rel="stylesheet" type="text/css" href="__LIB__/icheck/icheck.css"/>
    <link rel="stylesheet" type="text/css" href="__LIB__/uploadify/uploadify.css"/>
    <link rel="stylesheet" type="text/css" href="__LIB__/lightbox2/css/lightbox.min.css"/>

    {block name="style"}{/block}
    <!--[if IE 6]>
    <script type="text/javascript" src="__LIB__/DD_belatedPNG_0.0.8a-min.js"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    {include file='admin@template/javascript_vars' /}
</head>
<body>
{block name="nav"}
<nav class="breadcrumb">
    <div id="nav-title"></div>
    <a class="btn btn-success radius r btn-refresh" style="line-height:1.6em;margin-top:3px" href="javascript:;" title="刷新"><i class="Hui-iconfont"></i></a>
    <a class="btn btn-success radius r btn-qingchu" style="line-height:1.6em;margin-top:3px;margin-right:10px" href="javascript:;" title="清除缓存">清除缓存</a>
</nav>
{/block}
{block name="content"}{/block}
<script type="text/javascript" src="__LIB__/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__LIB__/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__STATIC__/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="__STATIC__/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="__STATIC__/js/app.js"></script>
<script type="text/javascript" src="__LIB__/uploadify/jquery.uploadify.js"></script>
<script type="text/javascript" src="__LIB__/icheck/jquery.icheck.min.js"></script>
<script type="text/javascript" src="__LIB__/fenyetiaozhuan/tiaozhuan.js"></script>
<!-- <script type="text/javascript" src="__LIB__/lightbox2/js/lightbox.min.js"></script> -->

{block name="script"}{/block}
</body>
<script type="text/javascript">
    $('.btn-qingchu').click(function(){
        $.post("{:url('Index/qingchu')}",function(r){
            layer.msg('清除缓存成功');
        }) 
    });

    $("[data-toggle='tooltip']").hover(function(){
        text=$(this).text();
        if(text.substr(text.length-3,3)=='...'){
            width=$(this).css('width');
            width=width.substr(0,width.length-2);
            width=parseInt(width)+parseInt(16);
            left=parseInt($(this).offset().left)+width/2-100;
            xtop=parseInt($(this).offset().top)+parseInt(35);
            val=$(this).data('title');
            html="<div style='width:200px;border-radius:5px;background:#222;position:absolute;top:"+xtop+"px;left:"+left+"px;z-index:100;color:#fff;'>"+val+"</div>";
            $(this).append(html);  
        }
    },function(){
        $(this).find('div').remove();
    });
</script>
</html>